PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Sparkle / Explosions / $$$ Royal - Mashup (412).milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=2.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.000 |
| 27 | fWaveSmoothing=0.750 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99950 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.00900 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.500 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=1 |
| 128 | shapecode_0_sides=32 |
| 129 | shapecode_0_additive=1 |
| 130 | shapecode_0_thickOutline=1 |
| 131 | shapecode_0_textured=0 |
| 132 | shapecode_0_num_inst=33 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.10000 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=0.000 |
| 140 | shapecode_0_g=0.500 |
| 141 | shapecode_0_b=0.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=0.000 |
| 144 | shapecode_0_g2=0.500 |
| 145 | shapecode_0_b2=0.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.000 |
| 151 | shape_0_per_frame1=trans = int(rand(int(q3)))/5+instance-instance; |
| 152 | shape_0_per_frame2=trans2 = int(rand(int(q3)))/5+instance-instance; |
| 153 | shape_0_per_frame3=trans3 = int(rand(int(q3)))/5+instance-instance; |
| 154 | shape_0_per_frame4=a = trans; |
| 155 | shape_0_per_frame5= |
| 156 | shape_0_per_frame6=x = .5 + int(rand(25))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 157 | shape_0_per_frame7=y = .5 + int(rand(25))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 158 | shape_0_per_frame8=rad = .09 + int(rand(int(q30)))/15+instance-instance; |
| 159 | shape_0_per_frame9=r=int(rand(q3))*.1+instance-instance; |
| 160 | shape_0_per_frame10=g=int(rand(q3))*.1+instance-instance; |
| 161 | shape_0_per_frame11=b=int(rand(q3))*.1+instance-instance; |
| 162 | shape_0_per_frame12=r2=int(rand(q3))*.1+instance-instance; |
| 163 | shape_0_per_frame13=g2=int(rand(q3))*.1+instance-instance; |
| 164 | shape_0_per_frame14=b2=int(rand(q3))*.1+instance-instance; |
| 165 | shape_0_per_frame15=border_r=int(rand(q3))*.1+instance-instance; |
| 166 | shape_0_per_frame16=border_g=int(rand(q3))*.1+instance-instance; |
| 167 | shape_0_per_frame17=border_b=int(rand(q3))*.1+instance-instance; |
| 168 | shapecode_1_enabled=1 |
| 169 | shapecode_1_sides=32 |
| 170 | shapecode_1_additive=0 |
| 171 | shapecode_1_thickOutline=1 |
| 172 | shapecode_1_textured=1 |
| 173 | shapecode_1_num_inst=7 |
| 174 | shapecode_1_x=0.500 |
| 175 | shapecode_1_y=0.500 |
| 176 | shapecode_1_rad=0.10000 |
| 177 | shapecode_1_ang=0.00000 |
| 178 | shapecode_1_tex_ang=0.00000 |
| 179 | shapecode_1_tex_zoom=1.00000 |
| 180 | shapecode_1_r=0.000 |
| 181 | shapecode_1_g=0.000 |
| 182 | shapecode_1_b=0.500 |
| 183 | shapecode_1_a=1.000 |
| 184 | shapecode_1_r2=0.000 |
| 185 | shapecode_1_g2=0.000 |
| 186 | shapecode_1_b2=0.500 |
| 187 | shapecode_1_a2=0.000 |
| 188 | shapecode_1_border_r=1.000 |
| 189 | shapecode_1_border_g=1.000 |
| 190 | shapecode_1_border_b=1.000 |
| 191 | shapecode_1_border_a=0.000 |
| 192 | shape_1_per_frame1=trans = int(rand(int(q3)))/5+instance-instance; |
| 193 | shape_1_per_frame2=trans2 = int(rand(int(q3)))/5+instance-instance; |
| 194 | shape_1_per_frame3=trans3 = int(rand(int(q3)))/5+instance-instance; |
| 195 | shape_1_per_frame4=a = trans; |
| 196 | shape_1_per_frame5= |
| 197 | shape_1_per_frame6=x = .5 + int(rand(25))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 198 | shape_1_per_frame7=y = .5 + int(rand(25))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 199 | shape_1_per_frame8=rad = .09 + int(rand(int(q30)))/15+instance-instance; |
| 200 | shape_1_per_frame9=r=int(rand(q3))*.1+instance-instance; |
| 201 | shape_1_per_frame10=g=int(rand(q3))*.1+instance-instance; |
| 202 | shape_1_per_frame11=b=int(rand(q3))*.1+instance-instance; |
| 203 | shape_1_per_frame12=r2=int(rand(q3))*.1+instance-instance; |
| 204 | shape_1_per_frame13=g2=int(rand(q3))*.1+instance-instance; |
| 205 | shape_1_per_frame14=b2=int(rand(q3))*.1+instance-instance; |
| 206 | shape_1_per_frame15=border_r=int(rand(q3))*.1+instance-instance; |
| 207 | shape_1_per_frame16=border_g=int(rand(q3))*.1+instance-instance; |
| 208 | shape_1_per_frame17=border_b=int(rand(q3))*.1+instance-instance; |
| 209 | shape_1_per_frame18= |
| 210 | shapecode_2_enabled=1 |
| 211 | shapecode_2_sides=32 |
| 212 | shapecode_2_additive=0 |
| 213 | shapecode_2_thickOutline=1 |
| 214 | shapecode_2_textured=0 |
| 215 | shapecode_2_num_inst=33 |
| 216 | shapecode_2_x=0.500 |
| 217 | shapecode_2_y=0.500 |
| 218 | shapecode_2_rad=0.10000 |
| 219 | shapecode_2_ang=0.00000 |
| 220 | shapecode_2_tex_ang=0.00000 |
| 221 | shapecode_2_tex_zoom=1.00000 |
| 222 | shapecode_2_r=0.500 |
| 223 | shapecode_2_g=0.000 |
| 224 | shapecode_2_b=0.000 |
| 225 | shapecode_2_a=1.000 |
| 226 | shapecode_2_r2=0.500 |
| 227 | shapecode_2_g2=0.000 |
| 228 | shapecode_2_b2=0.000 |
| 229 | shapecode_2_a2=0.000 |
| 230 | shapecode_2_border_r=1.000 |
| 231 | shapecode_2_border_g=1.000 |
| 232 | shapecode_2_border_b=1.000 |
| 233 | shapecode_2_border_a=0.000 |
| 234 | shape_2_per_frame1=trans = int(rand(int(q3)))/5+instance-instance; |
| 235 | shape_2_per_frame2=trans2 = int(rand(int(q3)))/5+instance-instance; |
| 236 | shape_2_per_frame3=trans3 = int(rand(int(q3)))/5+instance-instance; |
| 237 | shape_2_per_frame4=a = trans; |
| 238 | shape_2_per_frame5= |
| 239 | shape_2_per_frame6=x = .5 + int(rand(25))*0.01*treb_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 240 | shape_2_per_frame7=y = .5 + int(rand(25))*0.01*treb_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 241 | shape_2_per_frame8=rad = .09 + int(rand(int(q30)))/15+instance-instance; |
| 242 | shape_2_per_frame9=r=int(rand(q3))*.1+instance-instance; |
| 243 | shape_2_per_frame10=g=int(rand(q3))*.1+instance-instance; |
| 244 | shape_2_per_frame11=b=int(rand(q3))*.1+instance-instance; |
| 245 | shape_2_per_frame12=r2=int(rand(q3))*.1+instance-instance; |
| 246 | shape_2_per_frame13=g2=int(rand(q3))*.1+instance-instance; |
| 247 | shape_2_per_frame14=b2=int(rand(q3))*.1+instance-instance; |
| 248 | shape_2_per_frame15=border_r=int(rand(q3))*.1+instance-instance; |
| 249 | shape_2_per_frame16=border_g=int(rand(q3))*.1+instance-instance; |
| 250 | shape_2_per_frame17=border_b=int(rand(q3))*.1+instance-instance; |
| 251 | shape_2_per_frame18= |
| 252 | shapecode_3_enabled=0 |
| 253 | shapecode_3_sides=4 |
| 254 | shapecode_3_additive=0 |
| 255 | shapecode_3_thickOutline=0 |
| 256 | shapecode_3_textured=0 |
| 257 | shapecode_3_num_inst=1 |
| 258 | shapecode_3_x=0.500 |
| 259 | shapecode_3_y=0.500 |
| 260 | shapecode_3_rad=0.10000 |
| 261 | shapecode_3_ang=0.00000 |
| 262 | shapecode_3_tex_ang=0.00000 |
| 263 | shapecode_3_tex_zoom=1.00000 |
| 264 | shapecode_3_r=1.000 |
| 265 | shapecode_3_g=0.000 |
| 266 | shapecode_3_b=0.000 |
| 267 | shapecode_3_a=1.000 |
| 268 | shapecode_3_r2=0.000 |
| 269 | shapecode_3_g2=1.000 |
| 270 | shapecode_3_b2=0.000 |
| 271 | shapecode_3_a2=0.000 |
| 272 | shapecode_3_border_r=1.000 |
| 273 | shapecode_3_border_g=1.000 |
| 274 | shapecode_3_border_b=1.000 |
| 275 | shapecode_3_border_a=0.100 |
| 276 | per_frame_init_1=x1 = 2; |
| 277 | per_frame_init_2=y1= 2; |
| 278 | per_frame_init_3=z1 = 2; |
| 279 | per_frame_1=chng=sin(time*.5); |
| 280 | per_frame_2=cthr=.9999; |
| 281 | per_frame_3=mq21=if(above(chng,cthr),rand(3),mq21); |
| 282 | per_frame_4=mq22=if(above(chng,cthr),rand(3),mq22); |
| 283 | per_frame_5=mq23=if(above(chng,cthr),rand(3),mq23); |
| 284 | per_frame_6=mq24=if(above(chng,cthr),rand(2),mq24); |
| 285 | per_frame_7=mq25=if(above(chng,cthr),rand(2),mq25); |
| 286 | per_frame_8=mq26=if(above(chng,cthr),rand(2),mq26); |
| 287 | per_frame_9=mq27=if(above(chng,cthr),rand(1),mq27); |
| 288 | per_frame_10=mq28=if(above(chng,cthr),rand(1),mq28); |
| 289 | per_frame_11=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 290 | per_frame_12=mq31=if(above(chng,cthr),rand(1)*.3,mq31); |
| 291 | per_frame_13=monitor=chng; |
| 292 | per_frame_14=q21=mq21;q22=mq22;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 293 | per_frame_15=q27=mq27;q28=mq28;q29=mq29;q31=mq31; |
| 294 | per_frame_16= |
| 295 | per_frame_17=monitor=mq1; |
| 296 | per_frame_18=// raytraced sphere code |
| 297 | per_frame_19= |
| 298 | per_frame_20=d = 20; // distance of the sphere, the farther you're away the more you'll see on the horizon |
| 299 | per_frame_21=z = 4; // distance of the pane where the scene is projected on, wider distance = smaller apex angle of the camera, very small distances = fish eyes view |
| 300 | per_frame_22= |
| 301 | per_frame_23=zz = 1 + bass_att*0; // linear zoom |
| 302 | per_frame_24= |
| 303 | per_frame_25=pi = asin(1)*2; |
| 304 | per_frame_26=pi2inv = 0.5/pi; |
| 305 | per_frame_27=maskangle = asin( 1/d); |
| 306 | per_frame_28=q32 = maskangle; // hit = (cameras angle < mask_angle) |
| 307 | per_frame_29=q31 = d; |
| 308 | per_frame_30=q30 = z; |
| 309 | per_frame_31=q29 = pi2inv; |
| 310 | per_frame_32=q28 = pi; |
| 311 | per_frame_33=q27 = 1/zz; |
| 312 | per_frame_34= |
| 313 | per_frame_35=v = 0.4; |
| 314 | per_frame_36=j1 = j1*0.95 + sqr(bass*4)*v; |
| 315 | per_frame_37=j2 = j2*0.95 + sqr(mid*4)*v; |
| 316 | per_frame_38=j3 = j3*0.95 + sqr(treb*4)*v; |
| 317 | per_frame_39= |
| 318 | per_frame_40=n = n + j1*0.0152; |
| 319 | per_frame_41=n1 = n1 + j2*0.0152; |
| 320 | per_frame_42=n2 = n2 + j3*0.0152; |
| 321 | per_frame_43= |
| 322 | per_frame_44=vol=(bass+mid+treb)*0.25; |
| 323 | per_frame_45=vol=vol; |
| 324 | per_frame_46=q3=vol*8; |
| 325 | per_frame_47=mtime = mtime+vol*0.01; |
| 326 | per_frame_48=q1=mtime; |
| 327 | per_frame_49= |
| 328 | per_frame_50=zoom = zoom + 0.015*vol; |
| 329 | per_frame_51= |
| 330 | per_frame_52=w1 = n*0.01; // solid angles to rotate the sphere in its origin |
| 331 | per_frame_53=w2 = n1*0.01; |
| 332 | per_frame_54=w3 = n2*0.01; |
| 333 | per_frame_55= |
| 334 | per_frame_56=q20 = cos(w1); |
| 335 | per_frame_57=q21 = sin(w1); |
| 336 | per_frame_58=q22 = cos(w2); |
| 337 | per_frame_59=q23 = sin(w2); |
| 338 | per_frame_60=q24 = cos(w3); |
| 339 | per_frame_61=q25 = sin(w3); |
| 340 | per_frame_62=q8=vol; |
| 341 | per_frame_63=q9=vol; |
| 342 | per_frame_64=q10=vol; |
| 343 | per_frame_65=q11=vol; |
| 344 | warp_1=`shader_body |
| 345 | warp_2=`{ |
| 346 | warp_3=` // sample previous frame |
| 347 | warp_4=` ret = tex2D( sampler_main, uv ).xyz; |
| 348 | warp_5=` |
| 349 | warp_6=` // feather pen |
| 350 | warp_7=` ret = max(ret, tex2D( sampler_main, (uv-0.5)*(1-8*length(texsize.zw)) + 0.5 ).xyz); |
| 351 | warp_8=` ret = max(ret, tex2D( sampler_main, (uv-0.5)*(1+8*length(texsize.zw)) + 0.5 ).xyz); |
| 352 | warp_9=` |
| 353 | warp_10=` // darken over time |
| 354 | warp_11=` ret = (ret-0.03)*0.98; |
| 355 | warp_12=`} |
| 356 | comp_1=`shader_body |
| 357 | comp_2=`{ |
| 358 | comp_3=` |
| 359 | comp_4=`float3 reta = tex2D(sampler_main, uv); |
| 360 | comp_5=`ret = reta; |
| 361 | comp_6=`//ret = sqrt(ret)*1; |
| 362 | comp_7=`//ret += GetBlur2(uv); |
| 363 | comp_8=`ret -= GetBlur1(uv)*0.5; |
| 364 | comp_9=` |
| 365 | comp_10=`ret *= 2; |
| 366 | comp_11=` |
| 367 | comp_12=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 368 | comp_13=` ((uv.xyy*q28 |
| 369 | comp_14=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 370 | comp_15=` ).xyz* |
| 371 | comp_16=` float3(1,1,0)*0.05 + |
| 372 | comp_17=` time*float3(0,0,1)*q31 |
| 373 | comp_18=` ); |
| 374 | comp_19=`if(ret.x> q26*roam_cos.y && ret.x<= q23*roam_sin.x)ret.z -= (noise9).x*.5; |
| 375 | comp_20=`if(ret.y> q25*roam_sin.x && ret.y<= q22*roam_cos.x)ret.x -= (noise9).y*.5; |
| 376 | comp_21=`if(ret.z> q24*roam_cos.x && ret.z<= q21*roam_sin.y)ret.y -= (noise9).z*.5; |
| 377 | comp_22=`} |